<?php
/**
 * Created by PhpStorm.
 * UsersF: Mloong
 * Date: 2019/3/2
 * Time: 9:54
 */

namespace app\sign\controller;


use think\Controller;
use think\facade\Session;

class BaseController extends Controller
{
    function initialize()
    {
        if(!Session::get('sign','sign_session') || !Session::get('from','sign_session')){
            $this->success('请登陆','/sign');
            exit();
        }
    }
}